package com.bosssoft.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import com.bosssoft.baseParam.BaseParam;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Li kexi
 * Created on 2021/8/16.14:30
 */
/**
    * 账户表
    */
@ApiModel(value="com-bosssoft-entity-po-FibAccount")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "fib_account")
public class FibAccountPO  implements Serializable {
    /**
     * 账户id
     */

    @TableId(value = "acc_id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="账户id")
    public Long accId;

    /**
     * 账号
     */
    @TableField(value = "acc_username")
    @ApiModelProperty(value="账号")
    private Long accUsername;

    /**
     * 支付密码
     */
    @TableField(value = "acc_password")
    @ApiModelProperty(value="支付密码")
    private String accPassword;

    /**
     * 余额
     */
    @TableField(value = "acc_balance")
    @ApiModelProperty(value="余额")
    private Double accBalance;

    @TableField(value = "acc_balance")
    @ApiModelProperty(value="变更余额")
    private Double balance;

    /**
     * 激活状态
     */
    @TableField(value = "deleted")
    @ApiModelProperty(value="激活状态")
    private Object deleted;

    /**
     * 账户类型
     */
    @TableField(value = "acc_type")
    @ApiModelProperty(value="账户类型")
    private Object accType;

    /**
     * 所属银行
     */
    @TableField(value = "acc_bank")
    @ApiModelProperty(value="所属银行")
    private String accBank;

    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value="创建人")
    private String createBy;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value="更新人")
    private String updateBy;

    /**
     * 版本号
     */
    @Version
    @TableField(value = "version")
    @ApiModelProperty(value="版本号")
    private Integer version;

    private static final long serialVersionUID = 1L;


}